
<div class="content" class="n-size-normal">
	<?php
	if(!empty($data['role'])){
	foreach($data['role'] as $key=>$val){
	?>
		<?php
		if(empty($val['rpid'])||'N'==$val['isdel']){
		?>
	<div class="n-alert n-box-float n-sep" style="width:95px;padding:10px;">
		<?=n_ui(n_url('rbac','siteRoleSave',array("scode"=>$data['scode'],'roleid'=>$val['id'])),$val['name'])?>
	</div>
		<?php
		}else{
		?>
	<div class="n-box-float n-sep" style="width:95px;padding:10px;border:1px solid #C0402A;background-color: #FFEEDD">
		<?=n_ui(n_url('rbac','siteRoleSave',array("scode"=>$data['scode'],'roleid'=>$val['id'])),$val['name'])?>
	</div>
		<?php
		}
		?>
		
		
	<?php
	}
	}
	?>

</div>		
